tools/ocaml: Add OCaml binding of virq bind
authorYang Qian <krizex@gmail.com>
Thu, 27 Sep 2018 07:53:04 +0000 (15:53 +0800)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 27 Sep 2018 10:19:48 +0000 (11:19 +0100)
commit89faccfd35dde2cc1e2e2452ada0c978caaf4862
treecce4aa1c6056640d60619ee25672a173cc140572
parent4c5f9dbebc0bd2afee1ecd936c74ffe65756950f
tools/ocaml: Add OCaml binding of virq bind

1. Add a common bind virq function
2. Reduce the stub code of `bind_dom_exc_virq`

Signed-off-by: Yang Qian <yang.qian@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
tools/ocaml/libs/eventchn/xeneventchn.ml
tools/ocaml/libs/eventchn/xeneventchn.mli
tools/ocaml/libs/eventchn/xeneventchn_stubs.c